package com.yuki.api.service;

import com.yuki.api.common.CommonPage;
import com.yuki.api.dto.OmsMoneyInfoParam;
import com.yuki.api.dto.OmsOrderDeliveryParam;
import com.yuki.api.dto.OmsOrderQueryParam;
import com.yuki.api.dto.OmsReceiverInfoParam;
import com.yuki.api.model.OmsOrder;

public interface IOmsOrderService {

    //批量删除订单
    int delete(Long id);
    //获取指定订单详情
    OmsOrder detail(Long id);
    //修改订单备注
    OmsOrder updateNote(Long id, String note, Integer status);
    //修改订单收货人信息
    OmsOrder updateReceiverInfo(OmsReceiverInfoParam receiverInfoParam);
    //修改订单费用信息
    OmsOrder updateMoneyInfo(OmsMoneyInfoParam moneyInfoParam);
    //批量关闭订单
    OmsOrder close(Long id, String note);
    public CommonPage list(OmsOrderQueryParam queryParam, Integer pageSize, Integer pageNum) ;
    //批量发货
    OmsOrder delivery(OmsOrderDeliveryParam deliveryParam);
    //发送延迟消息取消订单
    //根据id 取消订单
    public void sendDelayMessageCancelOrder(Long orderId,int minute);
    public OmsOrder cancelOrder(Long orderId) ;
}
